package com.shan;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */
public class JumpSeven {
    public static void main(String[] args) {
        jump();
    }

    //需求：凡是7或者7的倍数就跳过，1~100之间,逢七必过
    public static void jump() {
        for (int i = 1; i <= 100; i++) {
            if (i % 7 == 0 || i / 10 == 7 || i % 10 == 7) {
//                continue;  //跳过
                System.out.println("过");
            }
            System.out.println(i);
        }
    }
}
